How to encrypt files and folders with eCryptfs in Ubuntu/Debian/kali linux

apt-get install ecryptfs-utils

modprobe ecryptfs  #Load the ecryptfs kernel driver

ecryptfs-setup-private ##default

ecryptfs-umount-private  # to unmount

ecryptfs-mount-private  # to mount it again,Switch to another directory except home

#######
ecryptfs-setup-private --noautoumount  # avoid ecryptfs auto mount at login
文章目录
|